package cn.klaw.properties;


import cn.klaw.consts.ProjectEventConst;
import lombok.Data;

/**
 * 事件模块配置
 */
@Data
public class EventProperty {
    public static final String PREFIX = "event";

    /**
     * 默认时间发布、监听渠道: redis, mq
     */
    public String eventPublishType = ProjectEventConst.EVENT_PUBLISH_TYPE_REDIS;

    /**
     * Redis监听模式：current, all
     */
    public String redisPublishType = ProjectEventConst.REDIS_PUBLISH_TYPE_CURRENT;
}
